x86: Add functions to set and clear bits on MSRs
authorSimon Glass <[email protected]>
Thu, 30 Apr 2015 04:26:00 +0000 (22:26 -0600)
committerSimon Glass <[email protected]>
Thu, 30 Apr 2015 22:13:46 +0000 (16:13 -0600)
commit86196c65acd7f4a524c4d8d34fd4d9a6afe040c2
tree0383cebda9dfa2297ffd3376576652c984177768
parent45b5a37836d552db30ab571d8ba67f12d7ba23b1
x86: Add functions to set and clear bits on MSRs

Since we do these sorts of operations a lot, it is useful to have a simpler
API, similar to clrsetbits_le32().

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/x86/include/asm/msr.h